<!--
 * @Author: gyc
 * @Date: 2020-06-04 14:43:43
 * @LastEditTime: 2020-06-29 14:40:55
 * @Description: Nuxt测试版
--> 
<template>
  <div class="share-aside">
    <h4>每日推荐</h4>
    <img src="/img/OrandMaisonTokyo.webp" />
    <p>
      <span>
        <nuxt-link to="/">[影视]东京大饭店</nuxt-link>
      </span>
      <span>
        <Icon type="md-flame" style="color:red;margin-left:5px" />1010
      </span>
    </p>
    <p style="margin-bottom:10px">分享人:别动我结菜</p>
  </div>
</template>

<script>
export default {
  name: "shareAside"
};
</script>

<style lang="scss" scoped>
.share-aside {
  position: sticky;
  position: -webkit-sticky;
  top: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 260px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0px 0px 10px #eee;
  h4 {
    margin-top: 10px;
  }
  img {
    width: 240px;
    height: 160px;
    margin-top: 10px;
  }
  p {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: space-between;
    &:nth-of-type(1) {
      color: black;
      font-weight: 700;
      padding-top: 5px;
    }
  }
  .share-aside-btn {
    display: flex;
    width: 100%;
    a {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 50%;
      height: 35px;
      &:nth-of-type(1)::after {
        position: absolute;
        content: "";
        right: -1px;
        top: 11.5px;
        width: 2px;
        height: 12px;
        background-color: black;
        border-radius: 1px;
      }
    }
  }
}
</style>